import { defineStore } from 'pinia'

export interface layoutData {
  fold: boolean
  refresh: boolean
}

const useLayoutSettings = defineStore('settings', {
  state(): layoutData {
    return {
      fold: true,
      refresh: false,
    }
  },
})

export default useLayoutSettings
